import { useFastLoginApi } from "@/api/index";
Page({
  /**
   * 页面的初始数据
   */
  data: {},
  login() {
    wx.navigateTo({
      url: "/pages/login/box/box",
    });
  },
  fastlogin() {
    console.log("fast");
    wx.login({
      success: async ({ code }) => {
        let { data } = await useFastLoginApi({ wxCode: code });
      },
    });
  },
});
